{if $user['is_star']}
{template user/starheader}
{else}
<div class="container user-header clearfix">
	<div class="span8 main profile">
		<img src="{avatar($user['user_id'],'large')}" class="avatar photo-large">
		<h2>$user['nickname'] <small>$user['system']['usergroup_name'] | 
			<span class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown">$user['credits']['name']:$user['credits']['value']<span class="caret"></span></a>
                <div class="dropdown-menu no-minwidth">$user['credits1']['name']:$user['credits1']['value'] | $user['credits2']['name']:$user['credits2']['value'] | $user['credits3']['name']:$user['credits3']['value']</div>
              </span>  $relationView</small></h2>
			
		<p>{if $user['bio']}$user['bio']{else}{lang no_desc}{/if}</p>
		<ul class="profile-details unstyled nav nav-pills">
			<li><a href="javascript:void(0);" class="{if $user['gender']=='female'}female{else}male{/if}" rel="me">{if $user['gender']}{echo lang($user['gender'])}{else}{lang keep_secret}{/if}</a></li>
			<li>
				<a href="javascript:void(0);" class="locality">{if $user['province']}{$user['province']}-{$user['city']}{else}{lang earth}{/if}</a>
			</li> 
			{if $user['domain']}
			<li><a href="{url home/domain?sname=$user['domain']}" class="url" rel="me" target="_blank">{echo host_url()}{url home/domain?sname=$user['domain']}</a></li>
			{/if}
		</ul>
	</div>
	<div class="secondary">
		<ul class="profile-tabs unstyled">
			<li class="followers">
					<a href="{url home/fans?uid=$user['user_id']}">
					<span class="count">$user['total_follower']</span>
					<span class="meta">{lang fans}</span>
				</a>
			</li>
			<li class="following">
					<a href="{url home/following?uid=$user['user_id']}">
					<span class="count">$user['total_follow']</span>
					<span class="meta">{lang follow}</span>
				</a>
			</li>
			<li class="shares">
					<a href="{url home/share?uid=$user['user_id']}">
					<span class="count">$user['total_share']</span>
					<span class="meta">{lang share}</span>
				</a>
			</li>
			<li class="albums">
					<a href="{url home/album?uid=$user['user_id']}">
					<span class="count">$user['total_album']</span>
					<span class="meta">{lang album}</span>
				</a>
			</li>
		</ul>
	</div>
</div>
{/if}